EXTRADEFS = -D_NTSYSTEM_
MODULE    = ntdll.dll
IMPORTLIB = ntdll
IMPORTS   = winecrt0
EXTRAINCL = $(UNWIND_CFLAGS)
EXTRALIBS = $(IOKIT_LIBS) $(RT_LIBS) $(PTHREAD_LIBS) $(UNWIND_LIBS)
EXTRADLLFLAGS = -nodefaultlibs -Wl,--image-base,0x7bc00000

C_SRCS = \
	actctx.c \
	atom.c \
	cdrom.c \
	critsection.c \
	crypt.c \
	debugbuffer.c \
	debugtools.c \
	directory.c \
	env.c \
	error.c \
	exception.c \
	file.c \
	handletable.c \
	heap.c \
	large_int.c \
	loader.c \
	loadorder.c \
	misc.c \
	nt.c \
	om.c \
	path.c \
	printf.c \
	process.c \
	reg.c \
	relay.c \
	resource.c \
	rewine.c \
	rtl.c \
	rtlbitmap.c \
	rtlstr.c \
	sec.c \
	serial.c \
	server.c \
	signal_arm.c \
	signal_arm64.c \
	signal_i386.c \
	signal_powerpc.c \
	signal_x86_64.c \
	string.c \
	sync.c \
	tape.c \
	thread.c \
	threadpool.c \
	time.c \
	version.c \
	virtual.c \
	wcstring.c

RC_SRCS = version.rc
